home *** CD-ROM | disk | FTP | other *** search
- Path: ibm32.perftech.com!usenet
- From: murf@perftech.com (John Murphy)
- Newsgroups: comp.lang.c
- Subject: Re: reversing a string
- Date: 9 Apr 1996 12:14:26 GMT
- Organization: Performance Technology Inc
- Message-ID: <4kdkb2$d6k@ibm32.perftech.com>
- References: <4k6cjl$j8f@central.server.swt.edu> <4kb1s7$6eu@ibm32.perftech.com> <4kbbr5$dee@solutions.solon.com>
- NNTP-Posting-Host: k5zba.perftech.com
- Mime-Version: 1.0
- NNTP-Posting-User: REVCO
- X-Newsreader: WinVN 0.93.11
-
- In article <4kbbr5$dee@solutions.solon.com>, seebs@solutions.solon.com
- says...
- >
- >In article <4kb1s7$6eu@ibm32.perftech.com>,
- >John Murphy <murf@perftech.com> wrote:
- >>Or if you favor compactness over readability, you can use:
- >
- >> x ^= y ^= x ^x y;
- >
- >... except that, even if you correct the typo, this is flat out illegal,
- and
- >cannot be made correct without using semicolons, commas, or other sequence
- >points.
-
- You're absolutely right; my apologies! It's amazing how many things that
- are "flat out illegal" actually work on many compilers!
-
- Murf
-
-